package com.ideal.manage.esms.repository.alarm;

import com.ideal.manage.esms.bean.alarm.Threshold;
import com.ideal.manage.esms.repository.framework.BaseRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface AlarmThresholdRepository extends BaseRepository<Threshold,String> {
    @Query("select t from Threshold t where  t.isValid=1")
    List<Threshold> findByAlarmThresholdIds();
}
